Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the GitHub Actions workflows and reusable actions to support conditional usage of local versus remote actions, depending on whether the repository is
javidahmed64592/template-pythonor another repository. This makes the workflows more portable and reusable across different repositories, avoiding issues with relative action paths outside the template repository.Conditional action usage enhancements:
.github/workflows/build.ymland.github/workflows/ci.yml, each job now conditionally uses either a local action (for the template repo) or a remote action fromjavidahmed64592/template-python(for other repos), improving workflow portability. [1] [2]build-wheel,verify-structure,install-python-core,install-python-dev, and all CI actions), steps that previously used local actions now include anifcondition to select between local and remote action usage. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]These changes ensure that workflows and actions work seamlessly whether they are run in the template repository or in downstream repositories that consume these actions.